package com.wendy.read.service.feign;


import com.wendy.read.common.utils.Result;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("read-service-book")
public interface SayHelloService {

    @PostMapping("/amoy/coupon/coupon/say")
    public Result say(@RequestParam("name") String name);

}
